import request from '@/utils/request'

// 日常三餐列表
export function listDailyCatering(query) {
  return request({
    url: '/system/daily-catering/list',
    method: 'get',
    params: query
  })
}

// 新增日常三餐
export function insertDailyCatering(data) {
  return request({
    url: '/system/daily-catering/insert',
    method: 'post',
	data:data
  }) 
}

// 查看日常三餐
export function dateDetail(data) {
  return request({
    url: '/system/daily-catering/dateDetail ',
    method: 'post',
	data:data
  }) 
}

// 编辑日常三餐
export function editDailyCatering(data) {
  return request({
    url: '/system/daily-catering/edit',
    method: 'post',
	data:data
  }) 
}

// 所有日常三餐
export function allListDailyCatering() { 
  return request({
    url: '/system/daily-catering/allList',
    method: 'get'
  }) 
}